<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        /* 一列 */
        /* .container{
            width: 1000px;
            height: 700px;
            background-color: gray;
            margin: 0 auto;
        } */

        /* 两列 */
        /* .container{
            width: 1000px;
            height: 1000px;
            margin: 0 auto;
        }

        .leftbox{
            width: 300px;
            height: 100%;
            background-color: #aadddd;
            float: left;
        }

        .rightbox{
            width: 700px;
            height: 100%;
            background-color: #f08844;
            float: left;
        }

        .clearFix::after{
            content: '';
            display: block;
            clear: both;
        }

        .bottom{
            background-color: aqua;
            height: 100px;
        } */

        /* 三列 */
        /* .container{
            width: 1000px;
            height: 1000px;
            margin: 0 auto;
        }

        .leftbox{
            width: 300px;
            height: 100%;
            background-color: #aadddd;
            float: left;
        }

        .midbox{
            width: 400px;
            height: 100%;
            background-color: aqua;
            float: left;
        }

        .rightbox{
            width: 300px;
            height: 100%;
            background-color: #f08844;
            float: left;
        }

        .clearFix::after{
            content: '';
            display: block;
            clear: both;
        }

        .bottom{
            background-color: aqua;
            height: 100px;
        } */

        /* 自适应两列 */

        /* .leftbox{
            width: 300px;
            height: 100vh;
            background-color: #aadddd;
            float: left;
        }

        .rightbox{
            margin-left: 300px;
            height: 100vh;
            background-color: #f08844;
        }

        .child{
            width: 50px;
            height: 50px;
            background-color: aqua;
        } */

        /* 自适应三列 */
        .leftbox{
            width: 300px;
            height: 100vh;
            background-color: #aadddd;
            float: left;
        }

        .midbox{
            margin-left: 300px;
            margin-right: 300px;
            height: 100vh;
            background-color: aqua;
        }
        .rightbox{
            width: 300px;
            height: 100vh;
            background-color: #f08844;
            float: right;
        }
    </style>
</head>
<body>
    <!-- 一列 -->
    <!-- <div class="container"></div> -->

    <!-- 两列 -->
    <!-- <div class="container clearFix">
        <div class="leftbox"></div>
        <div class="rightbox"></div>
    </div>

    <div class="bottom"></div> -->

    <!-- 三列 -->
    <!-- <div class="container">
        <div class="leftbox"></div>
        <div class="midbox"></div>
        <div class="rightbox"></div>
    </div> -->

    <!-- 自适应两列 -->
    <!-- <div class="leftbox"></div>
    <div class="rightbox">
        <div class="child"></div>
    </div> -->

    <!-- 自适应三列 -->
    <div class="leftbox"></div>
    <div class="rightbox"></div>
    <div class="midbox"></div>

    <!-- 双飞翼 & 圣杯 -->
</body>
</html>